<?xml version='1.0' encoding='UTF-8' ?>
<!--DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"-->
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">
    <f:loadBundle  basename="resources.caption" var="caption"/>
    <h:head>
        <title>Koperasi v.1</title>
        <h:outputStylesheet name="default.css" library="css" />
    </h:head>
    <h:body>
        <h:panelGrid class="boxBodyLog">
            <h:panelGrid class="bodyLog">
                <h:panelGrid styleClass="bgBoxLog">
                    <h:panelGrid styleClass="boxLog">
                        <h:panelGrid width="100%">
                            <h:panelGrid columns="2" cellpadding="2" styleClass="keyLog" border="0" rowClasses="vLog" columnClasses="imgKeyLog" width="400">
                                <h:graphicImage name="login-key.png" library="images"/>
                                <h:outputLabel value="login" />
                            </h:panelGrid>
                            <h:form>
                                <h:panelGrid styleClass="formLogIn" columns="2" cellpadding="2" border="0">
                                    <h:outputLabel for="#{loginBean.username}" value="Username" styleClass="vUNP"/>
                                    <h:inputText value="#{loginBean.username}" label="Username" styleClass="inpSty"></h:inputText>
                                    <h:outputLabel for="#{loginBean.password}" value="Password" styleClass="vUNP"/>
                                    <h:inputSecret value="#{loginBean.password}" styleClass="inpSty"></h:inputSecret>
                                    <h:outputLabel value=" "/>
                                    <h:commandButton styleClass="btnLogPos" type="submit" value="Login" action="#{loginBean.login}"></h:commandButton>
                                </h:panelGrid>
                            </h:form>
                            <h:messages styleClass="vLP"></h:messages>
                        </h:panelGrid>
                    </h:panelGrid>
                </h:panelGrid>
            </h:panelGrid>
        </h:panelGrid>
    </h:body>
</html>